package com.hqj.service;

import com.hqj.dao.UserDao;
import com.hqj.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl {

    @Autowired
    private UserDao ud;

    public List<User> find(){
        List<User> list = ud.find();
        return list;
    }

}
